package com.macro.mall.model.request;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 商品-门店位置同步请求参数
 */
@Data
public class ProductPoiSyncRequest {
    @NotBlank(message = "外部商品ID不能为空")
    private String outProductId;

    @NotBlank(message = "门店名称不能为空")
    private String poiName;

    @NotNull(message = "纬度不能为空")
    private Double latitude;

    @NotNull(message = "经度不能为空")
    private Double longitude;

    @NotBlank(message = "高德ID不能为空")
    private String amapId;
}
